import axios from "axios";

const service = axios.create({
    baseURL:"/api",
    timeout:3000
})

service.interceptors.request.use(config=>{
    return config
})

service.interceptors.response.use(response=>{
    return response.data
})

export default service